package com.goktech.olala.server.dao.customer;

import com.goktech.olala.server.pojo.customer.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {
    int deleteByPrimaryKey(Long customerInfId);

    int insert(Customer record);

    int insertCustomerInfId(@Param("customerInfId") String customerInfId, @Param("email") String email);

    Customer selectByPrimaryKey(Long customerInfId);

    List<Customer> selectAll();

    Customer selectEmail(String email);

    int updateByPrimaryKey(Customer record);
}